/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     chtMultiRegionFoam;

startFrom       latestTime;

startTime       100;

stopAt          endTime;

endTime         200;

deltaT          0.1;

writeControl    adjustableRunTime;

writeInterval   1;

purgeWrite      0;

writeFormat     binary;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

maxCo           1.0;

maxDi           10.0;

adjustTimeStep  yes;

/*functions
{

	#includeFunc cellMaxHeaterT
	#includeFunc cellMaxMetalT
	#includeFunc volAvgMetalTemperature
	#includeFunc volAvgHeaterTemperature

	averageTempMetalHeaterInterface
	{
		type		surfaceFieldValue;
		operation	areaAverage;
		surfaceFormat	off;
		libs		("libfieldFunctionObjects.so");
		enabled		true;
		writeControl	timeStep;
		writeInterval	1;
		log		true;
		writeFields	false;
		region		heater;
		regionType	patch;
		name		heater_to_metal;
		mode		magnitude;
		fields
		(
			T
		);	
	}

}*/

// ************************************************************************* //
